package com.jilian.mydemo.common.dto;

import com.jilian.mydemo.common.vo.ProductVO;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = false)
public class OrderDetailDto implements Serializable {
   private String  status;// true number 订单状态
   private String  serviceType;//  true string    服务类型
   private String  serviceAddress;//  true string     服务地点
   private String  orderNo;//  true string   订单编号
   private String  customerName;//  true string     客户姓名
   private String  customerPhone;//  true string     客户手机号
   private String  orderType;//  true string     工单类型:挂账或者客户
   private String  orderLevel;//  true string  工单紧急度，分为普通和紧急单
   private String  billingType;//  true string    计费类型，分为计件，计时
   private int  deviceAmount;//  true string   设备数量
   private String  productCode;//  true string     产品编号
   private String  fuselageNo;//  true string  机身号
   private String  filterElementNo;//  true string   滤芯号
   private String  bookTime;//  true string    预约时间
   private String  bookRemark;//  true string      预约说明
   private String  serviceRemark;//  true string 服务需求
   private BigDecimal  serviceMoney;//  true string       服务费
   private String  reduceMoney;// true string    优惠金额
   private BigDecimal  pendingMoney;//  true string     挂账费
   private BigDecimal partsMoney;//  true string    配件费
   private String  orderId;//  true string      订单id
   private String  isLeader;// true string   是否是领队， 0 否 1 是
   private String isMore;//多人水工？0 否 1 是
   private BigDecimal totalMoney;//实付金额
   private long commitTime;//提交订单到支付的时间，用于计算还剩多少时间
   private int isEarnest;//    true   string  是否需要定金（0.否 1.是）
   private double  earnestRate;//  true   string     定金比例（单位%）20.0
   private String serviceStandard;//服务费标准

   public String getServiceStandard() {
      return serviceStandard;
   }

   public void setServiceStandard(String serviceStandard) {
      this.serviceStandard = serviceStandard;
   }

   public int getIsEarnest() {
        return isEarnest;
    }

    public void setIsEarnest(int isEarnest) {
        this.isEarnest = isEarnest;
    }

    public double getEarnestRate() {
        return earnestRate;
    }

    public void setEarnestRate(double earnestRate) {
        this.earnestRate = earnestRate;
    }

    private List<ProductVO>productVOS;//服務產品

   public String getStatus() {
      return status;
   }

   public void setStatus(String status) {
      this.status = status;
   }

   public String getServiceType() {
      return serviceType;
   }

   public void setServiceType(String serviceType) {
      this.serviceType = serviceType;
   }

   public String getServiceAddress() {
      return serviceAddress;
   }

   public void setServiceAddress(String serviceAddress) {
      this.serviceAddress = serviceAddress;
   }

   public String getOrderNo() {
      return orderNo;
   }

   public void setOrderNo(String orderNo) {
      this.orderNo = orderNo;
   }

   public String getCustomerName() {
      return customerName;
   }

   public void setCustomerName(String customerName) {
      this.customerName = customerName;
   }

   public String getCustomerPhone() {
      return customerPhone;
   }

   public void setCustomerPhone(String customerPhone) {
      this.customerPhone = customerPhone;
   }

   public String getOrderType() {
      return orderType;
   }

   public void setOrderType(String orderType) {
      this.orderType = orderType;
   }

   public String getOrderLevel() {
      return orderLevel;
   }

   public void setOrderLevel(String orderLevel) {
      this.orderLevel = orderLevel;
   }

   public String getBillingType() {
      return billingType;
   }

   public void setBillingType(String billingType) {
      this.billingType = billingType;
   }

   public int getDeviceAmount() {
      return deviceAmount;
   }

   public void setDeviceAmount(int deviceAmount) {
      this.deviceAmount = deviceAmount;
   }

   public String getProductCode() {
      return productCode;
   }

   public void setProductCode(String productCode) {
      this.productCode = productCode;
   }

   public String getFuselageNo() {
      return fuselageNo;
   }

   public void setFuselageNo(String fuselageNo) {
      this.fuselageNo = fuselageNo;
   }

   public String getFilterElementNo() {
      return filterElementNo;
   }

   public void setFilterElementNo(String filterElementNo) {
      this.filterElementNo = filterElementNo;
   }

   public String getBookTime() {
      return bookTime;
   }

   public void setBookTime(String bookTime) {
      this.bookTime = bookTime;
   }

   public String getBookRemark() {
      return bookRemark;
   }

   public void setBookRemark(String bookRemark) {
      this.bookRemark = bookRemark;
   }

   public String getServiceRemark() {
      return serviceRemark;
   }

   public void setServiceRemark(String serviceRemark) {
      this.serviceRemark = serviceRemark;
   }

   public BigDecimal getServiceMoney() {
      return serviceMoney;
   }

   public void setServiceMoney(BigDecimal serviceMoney) {
      this.serviceMoney = serviceMoney;
   }

   public String getReduceMoney() {
      return reduceMoney;
   }

   public void setReduceMoney(String reduceMoney) {
      this.reduceMoney = reduceMoney;
   }

   public BigDecimal getPendingMoney() {
      return pendingMoney;
   }

   public void setPendingMoney(BigDecimal pendingMoney) {
      this.pendingMoney = pendingMoney;
   }

   public BigDecimal getPartsMoney() {
      return partsMoney;
   }

   public void setPartsMoney(BigDecimal partsMoney) {
      this.partsMoney = partsMoney;
   }

   public String getOrderId() {
      return orderId;
   }

   public void setOrderId(String orderId) {
      this.orderId = orderId;
   }

   public String getIsLeader() {
      return isLeader;
   }

   public void setIsLeader(String isLeader) {
      this.isLeader = isLeader;
   }

   public String getIsMore() {
      return isMore;
   }

   public void setIsMore(String isMore) {
      this.isMore = isMore;
   }

   public BigDecimal getTotalMoney() {
      return totalMoney;
   }

   public void setTotalMoney(BigDecimal totalMoney) {
      this.totalMoney = totalMoney;
   }

   public long getCommitTime() {
      return commitTime;
   }

   public void setCommitTime(long commitTime) {
      this.commitTime = commitTime;
   }

   public List<ProductVO> getProductVOS() {
      return productVOS;
   }

   public void setProductVOS(List<ProductVO> productVOS) {
      this.productVOS = productVOS;
   }
}
